package com.ws.zc.mapper.user.param;

import com.ws.rain.base.param.IdParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@NoArgsConstructor
@ApiModel("用户信息修改")
public class UpdateUser extends IdParam {

    public UpdateUser(long id, String password, long roleId) {
        super.setId(id);
        this.password = password;
        this.roleId = roleId;
    }

    @ApiModelProperty(value="密码")
    private String password;

    @ApiModelProperty(value="角色ID")
    private long roleId;
}
